projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ec6b4
)
notebook: Fix boolean check
author
Benjamin Otte
<otte@redhat.com>
Tue, 10 Mar 2015 12:23:06 +0000
(13:23 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 10 Mar 2015 12:23:06 +0000
(13:23 +0100)
Commit
c352093bdeb2be5390607de13eaf7a21e93272ef
swapped the condition
when turning it into a return_if_fail().
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index d2d935451bb959bc1b8570bfd1d52ba23a1460a7..889826086c3c6e719b605726d0b63728933d06c5 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-8186,7
+8186,7
@@
gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
g_return_if_fail (GTK_IS_WIDGET (child));
list = CHECK_FIND_CHILD (notebook, child);
- g_return_if_fail (
!list
);
+ g_return_if_fail (
list != NULL
);
if (expand)
*expand = GTK_NOTEBOOK_PAGE (list)->expand;